<#include "framework/frame.ftl">

<#macro title_info>业务系统列表</#macro>

<#macro frame_content>

<div class="ibox">
    <div class="ibox-heading">
        <div class="ibox-title">
            <h5>业务系统列表 </h5>
            <label class="btn btn-primary btn-xs col-sm-offset-8" style="cursor: pointer;" onclick="switchOperatingOption(this)">显示操作选项卡</label>
        </div>
        <div class="ibox-oper" style="display: none">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-12 control-label">系统名称</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" id="systemName" name="systemName" value=""
                               placeholder="系统名称" maxlength="20"/>
                    </div>

                    <label class="col-sm-12 control-label">系统编码</label>
                    <div class="col-sm-3">
                        <input type="text" class="form-control" id="systemCode" name="systemCode" value=""
                               placeholder='系统编码' maxlength="50"/>
                    </div>


                    <label  class="col-sm-12 control-label">系统状态</label>
                    <div class="col-sm-3">
                    <#--系统状态（Y-可用，H-挂起，N-不可用,C-系统已下线）-->
                        <select name="systemStatus" id="systemStatus" class="form-control">
                            <option value="Y">可用</option>
                            <option value="H">挂起</option>
                            <option value="N">不可用</option>
                            <option value="C">系统已下线</option>
                        </select>
                    </div>
                </div>


                <div class="col-sm-offset-8">
                    <button type="button" id = "generalQuery" class="btn btn-primary false btn-xs">提交</button>
                    <button type="reset"  id = "generalReset" class="btn btn-primary false btn-xs">重置</button>
                    &nbsp;&nbsp;&nbsp;
                    <button type="button" id="generalAdd" class="btn btn-primary false btn-xs "><i class="fa fa-plus" aria-hidden="true"></i>新增</button>
                    <button type="button" id="generalExport" class="btn btn-primary false btn-xs"><i class="fa fa-file" aria-hidden="true"></i>导出</button>
                </div>
            </form>
        </div>
        <div class="ibox-content clearPadding">
            <div class="jqGrid_wrapper">
                <table id="grid-table"></table>
                <div id="grid-pager"></div>
            </div>
        </div>
    </div>
</div>
</#macro>

<#macro business_js>
<script type="text/javascript" src="/static/js/cloud-gateway/businessSystemList.js"></script>
</#macro>
<@frame_html/>